<?php

namespace app\yperp\command;

use app\sosi\common\Sosi as CommonSosi;
use app\yperp\common\Changhong;
use app\yperp\common\MyWebDriver;
use app\yperp\common\Redis;
use app\yperp\model\Supplier;
use think\console\Command;
use think\console\Input;
use think\console\input\Argument;
use think\console\Output;

class sosi extends Command
{
    protected function configure()
    {
        // 指令配置
        $this->setName('sosi')->setDescription('批量生成员工活码');
    }

    protected function execute(Input $input, Output $output)
    {
        // 指令输出
        $this->input = $input;

        $this->output = $output;
        CommonSosi::getInstance()->toRun();
     }
}
